home *** CD-ROM | disk | FTP | other *** search
/ PC Pro 2005 June (DVD) / DPPRO0605DVD.iso / Install / program files / Borland / BDS / 3.0 / Objrepos / CSharp / Web.config < prev    next >
Encoding:
Extensible Markup Language  |  2004-10-22  |  3.1 KB  |  82 lines

  1. ∩╗┐<?xml version="1.0" encoding="utf-8" ?>
  2. <configuration>
  3.   <system.web>
  4.  
  5.     <!--  DYNAMIC DEBUG COMPILATION
  6.           Set compilation debug="true" to enable ASPX debugging.  Otherwise, setting this value to
  7.           false will improve runtime performance of this application. 
  8.           Set compilation debug="true" to insert debugging symbols (.pdb information)
  9.           into the compiled page. Because this creates a larger file that executes
  10.           more slowly, you should set this value to true only when debugging and to
  11.           false at all other times. For more information, refer to the documentation about
  12.           debugging ASP .NET files.
  13.     -->
  14.     <compilation
  15.          defaultLanguage="c#"
  16.      debug="true">
  17.      <assemblies>
  18.         [!DbkAssembly]
  19.      </assemblies>
  20.     </compilation>
  21.  
  22. [!DbkModuleHandler]
  23.     <!--  CUSTOM ERROR MESSAGES
  24.           Set customError mode values to control the display of user-friendly 
  25.           error messages to users instead of error details (including a stack trace):
  26.  
  27.           "On" Always display custom (friendly) messages  
  28.           "Off" Always display detailed ASP.NET error information.
  29.           "RemoteOnly" Display custom (friendly) messages only to users not running 
  30.           on the local Web server. This setting is recommended for security purposes, so 
  31.           that you do not display application detail information to remote clients.
  32.     -->
  33.     <customErrors 
  34.     mode="RemoteOnly" 
  35.     /> 
  36.  
  37.     <!--  AUTHENTICATION 
  38.           This section sets the authentication policies of the application. Possible modes are "Windows", "Forms", 
  39.           "Passport" and "None"
  40.     -->
  41.     <authentication mode="Windows" /> 
  42.  
  43.     <!--  APPLICATION-LEVEL TRACE LOGGING
  44.           Application-level tracing enables trace log output for every page within an application. 
  45.           Set trace enabled="true" to enable application trace logging.  If pageOutput="true", the
  46.           trace information will be displayed at the bottom of each page.  Otherwise, you can view the 
  47.           application trace log by browsing the "trace.axd" page from your web application
  48.           root. 
  49.     -->
  50.     <trace
  51.         enabled="false"
  52.         requestLimit="10"
  53.         pageOutput="false"
  54.         traceMode="SortByTime"
  55.         localOnly="true"
  56.     />
  57.  
  58.     <!--  SESSION STATE SETTINGS
  59.           By default ASP .NET uses cookies to identify which requests belong to a particular session. 
  60.           If cookies are not available, a session can be tracked by adding a session identifier to the URL. 
  61.           To disable cookies, set sessionState cookieless="true".
  62.     -->
  63.     <sessionState 
  64.             mode="InProc"
  65.             stateConnectionString="tcpip=127.0.0.1:42424"
  66.             sqlConnectionString="data source=127.0.0.1;user id=sa;password="
  67.             cookieless="false" 
  68.             timeout="20" 
  69.     />
  70.  
  71.     <!--  GLOBALIZATION
  72.           This section sets the globalization settings of the application. 
  73.     -->
  74.     <globalization 
  75.             requestEncoding="utf-8" 
  76.             responseEncoding="utf-8" 
  77.    />
  78.    
  79.  </system.web>
  80.  
  81. </configuration>
  82.